String.toString

BEWARE: If you're creating a String from a String.toString call, that String will cause memory fragmentation, which will make WebAssembly not reuse that memory block.

String s = String(String("Hello").toString);

ince s won't recognize that "Hello" as a

struct String
@nogc const pure nothrow @trusted
string
toString
()

Return Value

Type: string

Meta